package ace.module.account.api.model.input;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(title = "账户搜索参数")
public class IamAccountSearchOutInput implements Serializable {
  @Valid
  @NotNull
  @Schema(title = "外部应用键值")
  private AppOutInfoInput appOutInfo;

  @Valid
  @Schema(title = "搜索条件")
  private IamAccountFilterInput filter;
}
